#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

libjitsiVersion = $(shell dpkg -s libjitsi | grep Version: | awk '{print $$2}')
jitsi-commonVersion = $(shell dpkg -s jitsi-common | grep Version: | awk '{print $$2}')
jitsi-videobridgeVersion = $(shell dpkg -s jitsi-videobridge | grep Version: | awk '{print $$2}')

%:
	dh $@ 

override_dh_gencontrol:
	dh_gencontrol -- -Vlibjitsi:version="$(libjitsiVersion)" \
 -Vjitsi-common:version="$(jitsi-commonVersion)" \
 -Vjitsi-videobridge:version="$(jitsi-videobridgeVersion)"
